class {
    onMount() {
        window.dynamic = this;
    }
};

<div>
    <${true ? "div" : null} key="test">Content</>
</div>